package com.cjyd.hrjb.model.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * Created fei wo by 2020/4/5
 */
public enum UserSync implements BaseEnum<Integer> {
    UNSYNC(0,"未同步"), SYNCED(1,"已同步");

    private Integer val;
    private String desc;

    UserSync(Integer val, String desc) {
        this.val = val;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.val;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }
}
